package org.apache.connector.http;

import java.io.InputStream;
import java.io.OutputStream;
import java.util.HashMap;

public class HttpResponse {
    private OutputStream os;
    private HttpRequest request;
    protected HashMap<String, String> headers = new HashMap<>();

    public HttpResponse(OutputStream os) {
        this.os = os;
    }

    public HttpRequest getRequest() {
        return request;
    }

    public void setRequest(HttpRequest request) {
        this.request = request;
    }

    public void setHeader(String key, String val) {
        headers.put(key, val);
    }
}
